/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #5a7678;
			--accent: #74C365;
			--bg: rgb(0,60,60,.8);
			--containerBase: rgb(38, 57, 56, .5);
			--overlay: rgb(30, 61, 52);
			--box: rgb(52, 84, 78);
			a:link { color: lightblue; }
		}
		header {
			background: url('***dark mode banner image***');
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}

/* prevents overflow */
img { max-width: 100%; }
pre { overflow-x: auto; }

/* custom font */
@font-face {
	font-family: pixel_operator;
	src: url('PixelOperator.ttf'), format('ttf');
	font-style: normal;
	}

/* text styling */
h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
	margin: 0;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}
p {
	font-size: 1rem;
	padding-left: 5px;
	padding-right: 5px;
}
ul {
	margin: 0;
	margin-left: -20px;
	margin-bottom: 5px;
}

body {
	padding: 10px;
    font-family: pixel_operator, monospace;
	
	color: var(--text);
	
	background: url(background.png);
	background-color: rgb(12, 29, 33);
	background-position-x: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: fixed;
	height: auto;
	width: 100vw;
	
}


.outerContainer {
	max-width: 70rem;
	height: 45rem;
	margin: 2vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 2px dashed var(--overlay);
	outline-offset: 4px;
	display: flex;
	flex-wrap: wrap;
	padding: 9px;
	gap: 5px;
	flex-direction: row;
	
	z-index: 1;

	background-color: var(--containerBase);
}

.leftContainer {
	width: 12rem;
}

.midContainer {
	padding-left: 5px;
	padding-right: 5px;
	width: 43.5rem;
	display: flex;
	flex-wrap: wrap;
}

.rightContainer {
	width: 12rem;
}

section {
	border: 2px dotted var(--border);
	background: var(--containerBase);
}
.section--full {
	flex: 1 1 100%;
	margin-top: 5px;
	margin-bottom: 5px;
}
.section--half {
	width: 49.25%;
	margin-top: 5px;
	margin-bottom: 5px;
}
.section--half--left {
	margin-right: 5px;
}
.section--half--right {
	margin-left: 5px;
}


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	position: relative;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--overlay);
}


/* navigation bar */
nav {
	border: 2px ridge var(--border);
	
	background: var(--containerBase);
	display: flex;
	justify-content: center;
	margin-bottom: -5px;
}

nav a {
	font-size: 1.15rem;
	border-radius: 3px;
	text-align: center;
	display: inline;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 10px;
	margin-left: 10px;
	background: var(--overlay);
	width: 100px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: var(--containerBase);
}
a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}





#sticky {
	margin-bottom: 5px;
	margin-top: 5px;
	position: relative;
}
#todo {
	transform: rotate(2deg);
	color: var(--overlay);
	position: absolute;
	top: 265px;
	left: 235px;
	max-width: 16vh;
}

.blinkies img{
	width: 48.9%;
}

.midContainer img {
	padding-top: 5px;
	padding-bottom: 5px;
}

.section--half--mid {
	height: 240px;
}

.scroll {
	white-space: pre-wrap;
	overflow-y: scroll;
}
.scroll--changelog {
	height: 130px;
}


.nested {
	height: fit-content;
	display: flex;
	border: none;
	padding: 3px;
	background-color: var(--box);
	margin: 5px;
}
.nested p {
	font-size: .9rem;
}
.sideTxt {
	width: 75%;
	margin-left: auto;
	border: none;
}
.sideIcon {
	width: 25%;
	margin-right: auto;
	border: none;
}

.rightContainer img {
	display: block;
	margin: auto;
	padding: 2px;
}


#cicada {
	z-index: 100;
	width: 190px;
	transform: rotate(75deg);
	position: absolute;
	right: 200px;
	bottom: -150px;
}
#bubble {
	z-index: 98;
	width: 470px;
	position: absolute;
	bottom: 70px;
	right: -70px;
}
#alert {
	color: var(--overlay);
	text-align: center;
	width: 320px;
	position: absolute;
	z-index: 99;
	bottom: 205px;
	right: 40px;
}
#alert span {
	font-weight: bold;
	font-size: 2.5rem;
	line-height: 10px;
}
#alert p {
	font-size: 1.2rem;
}

#music-player {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 210px;
	background-color: gray;
	box-shadow: inset -2px -2px rgb(0, 0, 0),
    inset 2px 2px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}

#music-player section {
	width: 208px;
	border: none;
	margin: 2px;
	padding: 2px;
}

#music-player marquee {
	margin-left: 10px;
	margin-right: 10px;
}

#music-player img {
	width: 200px;
	margin-left: 5px;
	margin-top: 5px;
}

#music-player #pause-play {
	margin-left: 94px;
	margin-top: -10px;
	width: 12px;
}
